using System;
using System.Collections.Generic;
using System.Text;
using AF_ORM.CORE;
namespace QuanLyThietBi.Entity
{
                

     public class TBL_PhieuNhapEntity:AF_ORM.CORE.BaseEntity
    {
         public TBL_PhieuNhapEntity()
         {
             tableName = "TBL_PhieuNhap";


			 fieldInfos.Add(new FieldInfo("TBL_PhieuNhap","GhiChu","GhiChu","string",200,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("TBL_PhieuNhap","MaHSo","MaHSo","string",10,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("TBL_PhieuNhap","MaNCC","MaNCC","string",10,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("TBL_PhieuNhap","MaPN","MaPN","Guid",0,true,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("TBL_PhieuNhap","NgayNhap","NgayNhap","string",0,false,true,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("TBL_PhieuNhap","NguoiNhap","NguoiNhap","string",50,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("TBL_PhieuNhap","NoiDung","NoiDung","string",10,false,true,true,false,"","",""));
         }
       //properties
                    
		 protected string m_GhiChu;
		 protected string m_MaHSo;
		 protected string m_MaNCC;
		 protected Guid m_MaPN;
		 protected string m_NgayNhap;
		 protected string m_NguoiNhap;
		 protected string m_NoiDung;

		 public string GhiChu

          { 
                get { 
                    return m_GhiChu;}

                set{m_GhiChu=value;

                    GetField("GhiChu").Set();
                    GetField("GhiChu").IsNull=(value == null);           
                    }
          }
		 public string MaHSo

          { 
                get { 
                    return m_MaHSo;}

                set{m_MaHSo=value;

                    GetField("MaHSo").Set();
                    GetField("MaHSo").IsNull=(value == null);           
                    }
          }
		 public string MaNCC

          { 
                get { 
                    return m_MaNCC;}

                set{m_MaNCC=value;

                    GetField("MaNCC").Set();
                    GetField("MaNCC").IsNull=(value == null);           
                    }
          }
		 public Guid MaPN

          { 
                get { 
                    return m_MaPN;}

                set{m_MaPN=value;

                    GetField("MaPN").Set();
                    GetField("MaPN").IsNull=(value == null);           
                    }
          }
		 public string NgayNhap

          { 
                get { 
                    return m_NgayNhap;}

                set{m_NgayNhap=value;

                    GetField("NgayNhap").Set();
                    GetField("NgayNhap").IsNull=(value == null);           
                    }
          }
		 public string NguoiNhap

          { 
                get { 
                    return m_NguoiNhap;}

                set{m_NguoiNhap=value;

                    GetField("NguoiNhap").Set();
                    GetField("NguoiNhap").IsNull=(value == null);           
                    }
          }
		 public string NoiDung

          { 
                get { 
                    return m_NoiDung;}

                set{m_NoiDung=value;

                    GetField("NoiDung").Set();
                    GetField("NoiDung").IsNull=(value == null);           
                    }
          }

}
}
